docs: fix docs for GDK_XID_TO_POINTER and GDK_POINTER_TO_XID
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Mon, 20 Jan 2014 20:41:31 +0000 (15:41 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Mon, 20 Jan 2014 23:27:28 +0000 (18:27 -0500)
gdk/x11/gdkx11utils.h

index 9fdeac68a949032eceaa84fa24063ab548b431a6..573e2ecce17f9f5000259a7f33d887eea1e1e4a7 100644 (file)
@@ -54,15 +54,17 @@ Display *gdk_x11_get_default_xdisplay     (void);
 
 /**
  * GDK_XID_TO_POINTER:
+ * @xid: XID to stuff into the pointer
  *
  * Converts an XID into a @gpointer. This is useful with data structures
  * that use pointer arguments such as #GHashTable. Use GDK_POINTER_TO_XID()
  * to convert the argument back to an XID.
  */
-#define GDK_XID_TO_POINTER(pointer) GUINT_TO_POINTER(pointer)
+#define GDK_XID_TO_POINTER(xid) GUINT_TO_POINTER(xid)
 
 /**
  * GDK_POINTER_TO_XID:
+ * @pointer: pointer to extract an XID from
  *
  * Converts a @gpointer back to an XID that was previously converted
  * using GDK_XID_TO_POINTER().